import routeComponentName from '@/config/route-component-name'

const knowRouter = [
  {
    path: '/knowledge',
    component: () => import('@/layout/index.vue'),
    name: 'knowledge',
    redirect: '/knowledge/know',
    children: [
      {
        path: 'know',
        component: () => import('@/views/know/index.vue'),
        name: 'know',
        meta: {
          title: '知识中心',
          icon: 'Collection',
          keepAlive: true,
          componentName: routeComponentName.know.know,
        },
      },
    ],
  },
]

export default knowRouter
